﻿
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models
{
   
    [Description("图文消息内容")]
    public class ImageTextItem :BaseEntity<long>
    { 
         
        /// <summary>
        /// 图文消息的标题
        /// </summary> 
        [JsonProperty("title")]
        public string Title { get; set; }
        
        /// <summary>
        /// 图文消息缩略图的media_id，可以在基础支持上传多媒体文件接口中获得
        /// </summary> 
        [JsonProperty("thumb_media_id")]
        public string ThumbMediaId { get; set; }

        /// <summary>
        /// 图文消息的作者
        /// </summary> 
        [JsonProperty("author")]
        public string Author { get; set; }


        /// <summary>
        /// 图文消息的描述
        /// </summary> 
        [JsonProperty("digest")]
        public string Digest { get; set; }

        /// <summary>
        /// 是否显示封面
        /// </summary>
        [JsonProperty("show_cover_pic")]
        public string ShowCoverPic { get; set; }
         
        /// <summary>
        /// 图文消息的具体内容，支持HTML标签，必须少于2万字符，小于1M，且此处会去除JS
        /// </summary>
       
        [JsonProperty("content")]
        public string Content { get; set; }


        /// <summary>
        /// 图文消息的原文地址，即点击“阅读原文”后的URL
        /// </summary>
    
        [JsonProperty("content_source_url")]
        public string ContentSourceUrl { get; set; }



        public long ImageText_Id { get; set; }

        public virtual ImageText ImageText { get; set; }
          
    }
}
